package io;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Scanner;

/**
 * @author krystal
 * @date 2022/11/27 9:41
 */
public class Demo10 {
    public static void main(String[] args) throws IOException {
        InputStream inputStream=new FileInputStream("./bbb.txt");
        Scanner scanner=new Scanner(inputStream);
        while (scanner.hasNext()){
            System.out.println(scanner.next());
        }
        inputStream.close();
    }
}
